package com.b2b.model.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Table;
import java.sql.Timestamp;


@Data
@Component
@Table(name = "browsing_history")
public class Browsing {

    @Column(name = "company_id")
    private Integer companyId;
    @Column(name = "goods_id")
    private Integer goodsId;
    @Column(name = "browsing_time")
    private Timestamp browsingTime;
    @Column(name = "browsing_times")
    private Integer browsingTimes;
}
